﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WpfSnqkGasAnalysis.Model
{
    /// <summary>
    /// 净化气
    /// </summary>
    /// 创建数据：2022-11-22 16:30:48。作者：王浩力
    public   class Clean_gas : BaseModel
    {
        /// <summary>
        /// 主键
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 样品编号
        /// </summary>
        public string Sample_no { get; set; }

        /// <summary>
        /// 井站
        /// </summary>
        public string Well_name { get; set; }


        /// <summary>
        /// 取样地点
        /// </summary>
        public string Sampling_location { get; set; }

        /// <summary>
        /// 气源
        /// </summary>
        public string Air_source { get; set; }

        /// <summary>
        /// 原取样位置
        /// </summary>
        public string Original_sampling_position { get; set; }

        /// <summary>
        /// 净取样位置
        /// </summary>
        public string Net_sampling_position { get; set; }

        /// <summary>
        /// 取样温度
        /// </summary>
        public decimal? Sampling_temperature { get; set; }

        /// <summary>
        /// 取样时间
        /// </summary>
        public string Sampling_time { get; set; }

        /// <summary>
        /// 分析时间
        /// </summary>
        public string Analysis_time { get; set; }

        /// <summary>
        /// 取样条件
        /// </summary>
        public string Sampling_condiction { get; set; }

        /// <summary>
        /// 取样人
        /// </summary>
        public string Sampling_user { get; set; }

        /// <summary>
        /// 分析人ID
        /// </summary>
        public long? Analysis_user { get; set; }
        

        /// <summary>
        /// 分析单位
        /// </summary>
        public string Analysis_company { get; set; }

        /// <summary>
        /// 原料气%
        /// </summary>
        public decimal? Feedgas_percent { get; set; }

        /// <summary>
        /// 原料气(mg/m³)
        /// </summary>
        public decimal? Feedgas_mg_per_m3 { get; set; }

        /// <summary>
        /// 净化气%
        /// </summary>
        public decimal? Clean_gas_percent { get; set; }

        /// <summary>
        /// 净化气(mg/m³)
        /// </summary>
        public decimal? Clean_gas_mg_per_m3 { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public string Create_time { get; set; }

        /// <summary>
        /// 录入人id
        /// </summary>
        public long Input_user_id { get; set; }

        /// <summary>
        /// 录入人姓名
        /// </summary>
        public string Input_user { get; set; }

        /// <summary>
        /// 删除时间
        /// </summary>
        public string Del_time { get; set; }

        /// <summary>
        /// 校对人id
        /// </summary>
        /// 创建时间：2023-1-8 22:17:01。
        public long? Profread_user_id { get; set; }

        /// <summary>
        /// 校对人
        /// </summary>
        public string Proofreader { get; set; }

        /// <summary>
        /// 校对时间
        /// </summary>
        public string Proofread_time { get; set; }

        /// <summary>
        /// 步骤值。状态，1=待校对，2=待审核，3=被驳回，4=审核通过
        /// </summary>
        /// 创建时间：2022-12-13 22:50:47
        public byte? O_step { get; set; }

        /// <summary>
        /// 状态文本
        /// </summary>
        /// 创建时间：2022-12-14 14:49:23
        public string O_stepStr
        {
            get
            {
                if (O_step == null) return "待校对";
                if (O_step == 1)
                {
                    return "待校对";
                }
                if (O_step == 2)
                {
                    return "待审核";
                }
                if (O_step == 3)
                {
                    return "被驳回";
                }
                if (O_step == 4)
                {
                    return "审核通过";
                }
                return "待校对";
            }
        }

        /// <summary>
        /// 【文本】取样条件 sampling_condiction 
        /// </summary>
        public string Sampling_condictionTxt { get; set; }

        /// <summary>
        ///【文本】 分析单位 analysis_company     
        /// </summary>
        public string Analysis_companyTxt { get; set; }

        /// <summary>
        /// 【文本】分析人 analysis_user    
        /// </summary>
        public string Analysis_userTxt { get; set; }

        /// <summary>
        /// 【文本】原取样位置 original_sampling_position  
        /// </summary>
        public string Original_sampling_positionTxt { get; set; }

        /// <summary>
        /// 【文本】取样人
        /// </summary>
        public string Sampling_userTxt { get; set; }

        /// <summary>
        /// 【文本】取样地点
        /// </summary>
        public string Sampling_locationTxt { get; set; }

        /// <summary>
        /// 【文本】净取样位置
        /// </summary>
        public string Net_sampling_positionTxt { get; set; }
    }
}
